home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1997 December / PC Pro December 1997 CD-Rom coverdisc.iso / symantec / dbAnywh / JAVA.BIN / CLASSES.ZIP / sun / tools / debug / RemoteThreadGroup.class (.txt) < prev    next >
Encoding:
Java Class File  |  1996-12-14  |  1.3 KB  |  33 lines

  1. package sun.tools.debug;
  2.  
  3. public class RemoteThreadGroup extends RemoteObject {
  4.    RemoteThreadGroup parent;
  5.    String name;
  6.    int maxPriority;
  7.    boolean daemon;
  8.  
  9.    RemoteThreadGroup(RemoteAgent var1, int var2, RemoteClass var3) {
  10.       super(var1, 15, var2, var3);
  11.    }
  12.  
  13.    private void getThreadGroupInfo() throws Exception {
  14.       if (this.name == null) {
  15.          super.agent.getThreadGroupInfo(this);
  16.       }
  17.  
  18.    }
  19.  
  20.    public String getName() throws Exception {
  21.       this.getThreadGroupInfo();
  22.       return this.name;
  23.    }
  24.  
  25.    public void stop() throws Exception {
  26.       super.agent.stopThreadGroup(super.id);
  27.    }
  28.  
  29.    public RemoteThread[] listThreads(boolean var1) throws Exception {
  30.       return super.agent.listThreads(this, var1);
  31.    }
  32. }
  33.